var colorStart : Color = Color.red;
var colorEnd : Color = Color.green;
var duration : float = 1.0;

function Update () {
	if (Input.GetButtonUp("Fire3") || Input.GetKeyDown (KeyCode.Slash)){
			var lerp : float = Mathf.PingPong (Time.time, duration) / duration;
    		//renderer.material.color = Color.Lerp (colorStart, colorEnd, lerp);
	}
}